package com.example.goodog.items;

import com.example.goodog.interfaces.IItemWithName;
import com.example.goodog.interfaces.IShowDriveToButton;
import com.example.goodog.interfaces.IShowMailButton;
import com.example.goodog.interfaces.IShowOnMap;
import com.example.goodog.interfaces.IShowPhoneButton;
import com.example.goodog.interfaces.IShowWebSiteButton;


public class StoreItem extends ListItem implements IShowPhoneButton, IShowWebSiteButton, IShowDriveToButton, IShowMailButton, IShowOnMap, IItemWithName{

	public String Name;
	public String Address;
	public String Mail;
	public String PhoneString;
	public String WebSiteAdress;
	public long Clients;
	
	public StoreItem()
	{
	}
	

	@Override
	public String GetTilte() {
		// TODO Auto-generated method stub
		if(Name == null)
			return "";
		return Name;
	}

	@Override
	public String GetSnippet() {
		// TODO Auto-generated method stub
		if(Address == null)
			return "";
		return Address;
	}


	@Override
	public String GetPhoneNumber() {
		// TODO Auto-generated method stub
		if(PhoneString == null)
			return "";
		return PhoneString;
	}


	@Override
	public String GetWebSiteAddress() {
		// TODO Auto-generated method stub
		if(WebSiteAdress == null)
			return "";
		return WebSiteAdress;
	}


	@Override
	public String GetMailAddress() {
		// TODO Auto-generated method stub
		if(Mail == null)
			return "";
		return Mail;
	}


	@Override
	public String GetMailSubject() {
		// TODO Auto-generated method stub
		return "";
	}


	@Override
	public String GetMailBody() {
		// TODO Auto-generated method stub
		return "";
	}


	@Override
	public String GetName() {
		// TODO Auto-generated method stub
		return Name;
	}
}
